package com.beidasoft.web.annotation;

import com.beidasoft.web.util.enums.ESDataType;
import com.beidasoft.web.util.enums.ESOperator;

import java.lang.annotation.*;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.FIELD)
@Documented
@Inherited
public @interface ESQuery {

    /**
     * 查询操作枚举
     */
    ESOperator operator();

    String keyword() default "";

    ESDataType dataType() default ESDataType.none;

    String pattern() default "";

    String path() default "";

}
